﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FFSupplier.Common.CustomContext
{
    public class ContextGeneric<T> : ContextBase<T>
    {
        private static Guid key = GenerateKey();
        private static Guid GenerateKey()
        {
            return Guid.NewGuid();
        }
        protected override string GetKey()
        {
            return typeof(T).ToString() + key;
        }
    }
}
